package com.example.lvsuo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CwInoutType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 财务,我的收支检索
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 类别名称
     */
    private String cwName;

    /**
     * 自连id
     */
    private Long cwPid;

    /**
     * 收入+ , 支出-
     */
    private String type;

    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List children;
}
